<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>管理员登录页面</title>
  <style>
    body {
      font-family: Arial, sans-serif;
      background-color: #f7f7f7;
      display: flex;
      justify-content: center;
      align-items: center;
      height: 100vh;
      margin: 0;
    }
    .login-container {
      background-color: #fff;
      padding: 20px;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
      border-radius: 8px;
      width: 300px;
    }
    .login-container h2 {
      margin-top: 0;
      text-align: center;
    }

    .login-form label {
      display: block;
      margin-bottom: 5px;
    }
    .login-form input[type="text"],
    .login-form input[type="password"] {
      width: 93%;
      padding: 8px;
      margin-bottom: 10px;
      border: 1px solid #ccc;
      border-radius: 4px;
    }
    .login-form button {
      width: 100%;
      padding: 10px;
      background-color: #4a80ff;
      color: #fff;
      border: none;
      border-radius: 4px;
      cursor: pointer;
    }
    .login-form button:hover {
      background-color: #3e76f9;
    }
    .other-login-ways {
      margin-top: 15px;
      text-align: center;
    }
    .other-login-ways a {
      color: #444647;
      text-decoration: none;
      margin: 0 5px;
    }
  </style>
</head>
<body>

<div class="login-container">
  <h2>管理员登录</h2>
  <form action="adminloginServlet" method="post">

    账号：<input type="text" name="txtName" id="txtUserName" /> <br />
    密码：<input type="password" name="txtUserpassword"  id="txtUserPwd" /><br />
    <!--<input type="button" id="btnLogin" value="登陆" >-->
    <input  type="submit" value="登陆">
  </form>
  <div class="other-login-ways">
    <a href="adminreg.html">注册</a>
  </div>
</div>
</body>
</html>